package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IAddAddressActivityModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.req.EditAddressRequest;
import com.wgts.wgts.netmodle.resp.CurrentEntity;

/*
 *
 *
 *   data:2018/10/410:41
 *
 */public class AddAddressActivityModel implements IAddAddressActivityModel {
     private NetService netService;

    public AddAddressActivityModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void addAddressResult(EditAddressRequest request, HttpResultSubscriber<CurrentEntity> subscriber) {
        netService.editAddress(request, subscriber);
    }
}
